package com.lcc.lynx.base.system.pojo.excel;

import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import cn.idev.excel.annotation.write.style.ContentStyle;
import cn.idev.excel.enums.poi.HorizontalAlignmentEnum;
import com.lcc.lynx.excel.annotation.Excel;
import lombok.Data;


/** 
 * 配置管理Excel实体
 * @auth lcc
 * @date 2025-01-23
 */
@Data
public class SysConfigExcel {
	@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
	@ColumnWidth(10)	@ExcelProperty("配置id")
	private String cfgId;

	@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
	@ColumnWidth(12)	@ExcelProperty("配置名称")
	private String cfgName;

	@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
	@ColumnWidth(12)	@ExcelProperty("配置键")
	private String cfgKey;

	@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
	@ColumnWidth(12)	@ExcelProperty("配置值")
	private String cfgValue;

	@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
	@ColumnWidth(12)	@ExcelProperty("备注")
	private String remark;

	@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
	@ColumnWidth(10)	@ExcelProperty("状态")	@Excel(dict = "state")
	private String state;

	@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
	@ColumnWidth(20)	@ExcelProperty("创建时间")	@Excel(format = "yyyy-MM-dd hh:mm:ss")
	private String createTime;

}